import request from '../index.js'
//单据查询
export const orders = data => {
    return request.get('/api/customerVisitRecord/orders', data)
  }
  //新单据查询
export const neworders = data => {
    return request.get('/api/newCustomerVisitRecord/orders', data)
  }
  //销售单详情
export const orderDetail = data => {
    return request.get('/api/appletSalesOrder/detail', data)
  }
  // 查询销售单
export const orderList = data => {
  return request.get('/api/appletSalesOrder', data)
}